package cate.game.event.pay;

import cate.game.event.GameEvent;
import cate.game.role.Role;
import cate.game.role.RoleDependent;
import cp.solution.business.pay.PayTodoEntity;
import lombok.Getter;

import java.util.Objects;

public class PayOrderInitEvent extends RoleDependent implements GameEvent {

    @Getter
    private final PayTodoEntity todoEntity;

    public PayOrderInitEvent(Role role, PayTodoEntity todoEntity) {
        super(role);
        this.todoEntity = Objects.requireNonNull(todoEntity);
    }
}
